package com.cxl.test;

import java.util.Date;

import org.junit.Test;

import com.cxl.autocode.create.AutoSummerCode;
import com.cxl.autocode.data.SmrDifPathImpl;
import com.cxl.price.bean.Ptype;
import com.summer.core.autocode.AutoCodeCreate;
import com.summer.core.entity.STable;



public class test {

	@Test
	public void testJavaCreate()
	{
		STable bean=new STable();
		bean.setAuthor("诚夏徕");
		bean.setCreateDate(new Date());
		bean.setPath("deyi");
		bean.setCnName("模块名称");
		bean.setName("Ptype");
		bean.setClassName("com.cxl.price.bean.Ptype");
		//SmrDifPathImpl dif=new SmrDifPathImpl(bean.getClassName());
		AutoCodeCreate code=new AutoSummerCode();
		//code.createCode(bean, dif);
		
		
	}
	
	

	@Test
	public void testJspCreate()
	{
		AutoSummerCode summ=new AutoSummerCode();
		summ.createJsp(new Ptype());
	}
	
	
	
	
}